from pathlib import Path
import sys

curdir = str(Path(__file__).resolve().parent.parent)
print("Current dir: " + curdir)

sys.path.append(curdir)
# sys.path.append('/ragflow/api')

# from utils.common import build_url